steam_file_size(filename);
参数 | 描述 |
---|---|
filename | The name of the file to check the size of. |
返回: Real(实数)
With this function you can check the size of a file stored on
the Steam Cloud. The returned real number is the size, in bytes, of
the file.
file_bytes = steam_file_size("Save.txt");
The above code stores the size of a file from the Steam Cloud in the variable "file_bytes".